/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hk.sys.entity.job;

import org.hibernate.validator.constraints.Length;
import com.thinkgem.jeesite.modules.hk.sys.entity.user.HkUser;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 用户简历Entity
 * @author 罗天文
 * @version 2018-06-15
 */
public class HkUserResumeExperience extends DataEntity<HkUserResumeExperience> {
	
	private static final long serialVersionUID = 1L;
	private HkUserResume resume;		// 用户简历id 父类
	private HkUser user;		// 用户id
	private String corporatename;		// 公司名称
	private String job;		// 职位
	private String entrydate;		// 入职时间
	private String outdate;		// 离职时间
	private String workcontent;		// 工作内容
	
	public HkUserResumeExperience() {
		super();
	}

	public HkUserResumeExperience(String id){
		super(id);
	}

	public HkUserResumeExperience(HkUserResume resume){
		this.resume = resume;
	}

	@Length(min=0, max=32, message="用户简历id长度必须介于 0 和 32 之间")
	public HkUserResume getResume() {
		return resume;
	}

	public void setResume(HkUserResume resume) {
		this.resume = resume;
	}
	
	public HkUser getUser() {
		return user;
	}

	public void setUser(HkUser user) {
		this.user = user;
	}
	
	@Length(min=0, max=200, message="公司名称长度必须介于 0 和 200 之间")
	public String getCorporatename() {
		return corporatename;
	}

	public void setCorporatename(String corporatename) {
		this.corporatename = corporatename;
	}
	
	@Length(min=0, max=200, message="职位长度必须介于 0 和 200 之间")
	public String getJob() {
		return job;
	}

	public void setJob(String job) {
		this.job = job;
	}
	
	@Length(min=0, max=200, message="入职时间长度必须介于 0 和 200 之间")
	public String getEntrydate() {
		return entrydate;
	}

	public void setEntrydate(String entrydate) {
		this.entrydate = entrydate;
	}
	
	@Length(min=0, max=200, message="离职时间长度必须介于 0 和 200 之间")
	public String getOutdate() {
		return outdate;
	}

	public void setOutdate(String outdate) {
		this.outdate = outdate;
	}
	
	@Length(min=0, max=200, message="工作内容长度必须介于 0 和 200 之间")
	public String getWorkcontent() {
		return workcontent;
	}

	public void setWorkcontent(String workcontent) {
		this.workcontent = workcontent;
	}
	
}